package com.fjec.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fjec.user.entity.SysUserApp;
import com.fjec.user.entity.UserApp;
import com.fjec.user.mapper.SysUserAppMapper;
import com.fjec.user.service.ISysUserAppService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 006.用户应用关系表 服务实现类
 * </p>
 *
 * @author admin
 * @since 2020-09-04
 */
@Service
public class SysUserAppServiceImpl extends ServiceImpl<SysUserAppMapper, SysUserApp> implements ISysUserAppService {

    @Resource
    private SysUserAppMapper mapper;

    @Override
    public UserApp getUserAppVoByOpenId(String openId) {
        return mapper.getUserAppVOByOpenOpenId(openId);
    }
}
